package com.zretc.dao;

import com.zretc.entity.Address;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * @author WHP
 */
@Repository
@Mapper
public interface AddressMapper {
    /**
     * 添加地址
     * @param address  地址对象
     * @return
     *
     */
     int insertAddress(Address address);

    /**
     * 删除地址
     * @param addressId 地址编号
     * @return
     */
     int deleteAddress(Integer addressId);


}
